<%@ page import="com.demo0303.entity.Person" %>
<%@ page import="java.util.Date" %><%--
  Created by IntelliJ IDEA.
  User: WuLiangHang
  Date: 2022/3/3
  Time: 10:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>输出表达式</title>
</head>
<body>
<%
    Person person = new Person(1, "张三", 18, "男");
%>
<%--1.输出对象--%>
<%=person%>
<%--2.输出字符串--%>
<%="abcdefg"%>
<%--3.输出数字--%>
<%=1234567%>
<%--4.输出日期--%>
<%=new Date()%>
</body>
</html>
